package org.csu.forum.domain.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@Data
public class Prior {
    private int sectionid;
    private int userid;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy:MM:dd HH:mm:ss")
    private Date ban_write_deadline;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy:MM:dd HH:mm:ss")
    private Date ban_read_deadline;
    private Boolean manage_rw_prior;
    private Boolean set_top_prior;
    private Boolean set_essence_prior;
}
